package com.example.homeworkmanagement.pojo;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 拒绝加班
 * @since 2025-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Submissions对象", description="")
public class Submissions implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "作业提交id")
    @TableId(value = "submission_id", type = IdType.AUTO)
    private Integer submissionId;

    @ApiModelProperty(value = "作业的id")
    private Integer assignmentId;

    @ApiModelProperty(value = "提交作业的学生id")
    private String studentId;

    @ApiModelProperty(value = "提交的附件")
    private Integer attachment;

    private Date subDate;

    @ApiModelProperty(value = "成绩")
    private String grade;

    @ApiModelProperty(value = "教师反馈")
    private String feedback;

    @ApiModelProperty(value = "提交作业状态（1-未批改，2-已批改）")
    private String state;


}
